//
//  MenuZeroCollectionViewCell.m
//  Products_B
//
//  Created by lanou on 16/5/29.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "MenuZeroCollectionViewCell.h"

@implementation MenuZeroCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.picImageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, kWidth/3, kWidth/3 * 1915 / 1277)];
        self.titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(10,kWidth/3 * 1915 / 1277 , kWidth/3 - 20, 30)];
        self.contentLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, kWidth/3 * 1915 / 1277 + 30, kWidth/3- 20, 50)];
        self.contentLabel.numberOfLines = 0;
        self.contentLabel.font = [UIFont systemFontOfSize:14];
//        self.contentLabel.textColor = [UIColor grayColor];
//        self.picImageView.backgroundColor = [UIColor redColor];
//        self.titleLabel.backgroundColor = [UIColor orangeColor];
//        self.titleLabel.text = @"aa";
//        self.contentLabel.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_picImageView];
        [self.contentView addSubview:_titleLabel];
        [self.contentView addSubview:_contentLabel];
    }
    return self;
}
@end
